//
//  HXCycleImages.h
//  16_UICollectionViewCycleImage
//
//  Created by 徐昊 on 16/8/4.
//  Copyright © 2016年 徐昊. All rights reserved.
//

#import <UIKit/UIKit.h>
@class HXCycleImages;
@class HXCycleImagesCell;
@protocol HXCycleImagesCellDelegate <NSObject>

- (void)cycleView:(HXCycleImages *)view;

@end
@interface HXCycleImagesCell : UICollectionViewCell
@property (nonatomic, strong) UILabel *label;
@property (nonatomic, strong) UIImageView *cycleImage;
@end
@protocol HXCycleImagesDelegate <NSObject>

- (void)currentCell:(HXCycleImagesCell *)cell index:(NSIndexPath *)index;

@end
@interface HXCycleImages : UIView
@property (nonatomic, strong) NSArray *array;
@property (nonatomic, strong) HXCycleImagesCell *cell;
@property (nonatomic, weak) id <HXCycleImagesCellDelegate> datasource;
@property (nonatomic, weak) id <HXCycleImagesDelegate> delegate;
@end

